package a.b.reggie.service;

import a.b.reggie.pojo.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;

public interface IShoppingCartService extends IService<ShoppingCart> {

    /**
     * 向购物车添加食品
     * @param phone
     * @param shoppingCart
     */
    void addFood( String phone, ShoppingCart shoppingCart);

    /**
     * 减少食品数量
     * @param setmealId
     */
    void sub(Long setmealId);
}
